package com.unibeta.cloudtest.mesher.controller;

import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

import com.unibeta.cloudtest.restful.LocalRESTfulTestController;

@RestController
public class CloudTestController {

	@RequestMapping(path = "/restful/cloudtest", method = { RequestMethod.GET,
			RequestMethod.POST }, produces = MediaType.APPLICATION_XML_VALUE)
	public String cloudtest(@RequestBody String request) {

		return LocalRESTfulTestController.invoke(request);

	}
}
